<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <title><?php if(isset($output['title'])){echo $output['title'];}else{echo '金银商城';}?></title>
    <meta name="keywords" content="<?php if(isset($output['keywords'])){echo $output['keywords'];}else{ echo '金银商城';}?>" />
    <meta name="description" content="<?php if(isset($output['description'])){echo $output['description'];}else{ echo '金银商城';}?>" />
    <link rel="stylesheet" type="text/css" href="<?php echo SHOP_RESOURCE_SITE_URL;?>/css/Comm.css"/>
    <link rel="stylesheet" type="text/css" href="<?php echo SHOP_RESOURCE_SITE_URL;?>/css/register.css"/>
    <script type="text/javascript" src="<?php echo SHOP_RESOURCE_SITE_URL;?>/js/jquery-1.8.3.min.js"></script>
    <script>
        $(function(){
            window.parent.set_iframe_height(document.body.offsetHeight+120);
        });
        $(function(){
            window.parent.set_iframe_height("iframea_divPost","divPost",document.body.offsetHeight+120);
        });

    </script>
</head>
<style type="text/css">
    .Single_Content {
        overflow: hidden;
        border-top: none;
        background: #fff;
        margin: auto;
    }
    .Single_list {
        width: 918px;
        overflow: hidden;
        margin: 30px auto 15px;
        padding: 0 0 19px 0;
        border-bottom: 1px solid #E4E4E4;
    }
    .Single_list .Topiclist-img {
        width: 80px;
        overflow: hidden;
        text-align: center;
        float: left;
    }
    .Single_list .Topiclist-img .head-img {
        width: 80px;
        margin: 0 auto;
        display: block;
    }
    .Single_list .Topiclist-img .head-img img {
        width: 80px;
        height: 80px;
    }
    .Single_list .Topiclist-img .blue {
        white-space: nowrap;
        width: 80px;
        overflow: hidden;
        display: block;
    }
    .Single_list .SingleR {
        width: 782px;
        margin-left: 48px;
        display: inline;
    }
    .fl, .fl-img {
        float: left;
    }
    .Single_list .SingleR_TC {
        position: relative;
        zoom: 1;
    }
    .Single_list .SingleR_TC i {
        left: -28px;
        top: 0;
        background-position: -143px 0;
    }
    .Single_list .SingleR_TC s {
        right: 0;
        bottom: 12px;
        background-position: -168px 0;
    }
    .Single_list .SingleR_TC h3 {
        color: #999;
        font-family: 微软雅黑,宋体;
        font-size: 18px;
        color: #333;
        line-height: 24px;
    }
    .Single_list .SingleR_TC h3 span {
        font-size: 14px;
    }
    a {
        color: #333;
        text-decoration: none;
        outline: none;
    }
    .Single_list .SingleR_TC h3 em {
        font-size: 12px;
    }
    .gray02 {
        color: #999;
    }
    .Single_list .SingleR_TC p {
        padding: 7px 25px 12px 0;
    }
    .gray01 {
        color: #666;
    }
    .Single_list .SingleR_TC p {
        padding: 7px 25px 12px 0;
    }
    .Single_list ul.SingleR_pic {
        display: inline-block;
    }
    .Single_list .SingleR_pic li {
        float: left;
        margin-right: 10px;
        display: inline;
    }
    .Single_list .SingleR_Comment .Comment_smile {
        height: 25px;
        padding-top: 6px;
    }
    .SingleR_Comment .Comment_smile span {
        margin-right: 10px;
    }
    .SingleR_Comment .Comment_smile span i {
        background: url(<?php echo SHOP_RESOURCE_SITE_URL;?>/images/Detailsbg.png) no-repeat;
        width: 18px;
        height: 18px;
        display: inline-block;
        vertical-align: -4px;
        background-position: -198px 0;
        margin-right: 3px;
    }
    .SingleR_Comment .Comment_smile span s {
        width: 18px;
        height: 18px;
        display: inline-block;
        vertical-align: -8px;
        background-position: -230px 0;
        margin-right: 0;
    }
</style>
<body style="width:970px; min-height:150px">
<?php if( $output['error']==0){?>
<div id="divPost" class="Single_Content">
    <?php if(!empty($output['shaidan'])){ foreach($output['shaidan'] as  $v){?>
    <div class="Single_list">
        <div class="SingleL fl Topiclist-img">
            <a rel="nofollow" class="head-img" href="<?php echo urlShop('crowdfunding', 'uname',array('id'=>$v['q_uid']));?>" type="showCard" uweb="1000371861" target="_blank">
                <img border="0" alt="" src="<?php if ($member_img[$v['sd_id']]!=''){ echo UPLOAD_SITE_URL.DS.$member_img[$v['sd_id']];}else{ echo UPLOAD_SITE_URL.DS.'photo/member.jpg_30.jpg';}?>">
            </a>
            <a class="blue" href="<?php echo urlShop('crowdfunding','uname',array('id'=>_idjia($member_id[$v['sd_id']])));?>" type="showCard" uweb="1000371861" target="_blank"><?php echo $member_username[$v['sd_id']];?></a>

        </div>
        <div class="SingleR fl">
            <div class="SingleR_TC"><i></i> <s></s>
                <h3><span class="gray02">第<?php echo $v['sd_qishu'];?>期晒单</span><a href="<?php echo urlShop('crowdfunding','shaidan_detail',array('id'=>$v['sd_id']));?>" target="_blank"><?php echo $v['sd_title'];?></a>   <em class="gray02"><?php echo date("Y-m-d",$v['sd_time']);?></em></h3>
                <p class="gray01"><?php echo _strcut($v['sd_content'],220);?></p>
            </div>
            <ul class="SingleR_pic">
                <?php foreach($v['sd_photolist'] as $m){?>
                <?php if(!empty($m)){?>
                <li><img src="<?php echo UPLOAD_SITE_URL.DS.$m;?>"  style="width:100px; height:auto;" border=0 /></li>
                <?php }?>
                <?php }?>
            </ul>
            <div class="SingleR_Comment" postID="2676" count="7">
                <div class="Comment_smile gray02"><span><i></i><?php echo $v['sd_zhan'];?>人羡慕嫉妒恨</span><span><s></s><?php echo $v['sd_ping'];?>条评论</span></div>
            </div>
        </div>
    </div>
    <?php }?>
    <?php if ($output['total']>$output['num']){?>
    <div class="pagesx"><?php echo $output['page'];?></div>
   <?php }}?>
</div>
<?php }else{?>
<div style="text-align:center;width:100%;height:80px;line-height:80px;">
    <b>该商品还未有晒单！</b>
</div>
<?php }?>
</body>
</html>